﻿
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using IBLL;
using IDAL;

namespace BLL
{
    public partial class BLLSession 
    {
	   public int SaveChanges(string type)
        {
            IDBSessionFactory sessFactory = DI.Spring.GetObject<IDBSessionFactory>("DBSessFactory");
            var iDbSession = sessFactory.GetDBSession();
            return iDbSession.SaveChanges(type);
        }       


        		
		IObject_BLL iObject_BLL;
		public IObject_BLL IObject_BLL
		{
			get
			{
				if(iObject_BLL==null)
					iObject_BLL= new Object_BLL();
				return iObject_BLL;
			}
			set
			{
				iObject_BLL= value;
			}
		}
	
    }
	public partial class BLLSession : IBLLSession
    {
        		#region 01 业务接口 IAdRelease_DAL
		IAdRelease_BLL iAdRelease_BLL;
		public IAdRelease_BLL IAdRelease_BLL
		{
			get
			{
				if(iAdRelease_BLL==null)
					iAdRelease_BLL= new AdRelease_BLL();
				return iAdRelease_BLL;
			}
			set
			{
				iAdRelease_BLL= value;
			}
		}
		#endregion

        		#region 02 业务接口 IAdvertisingRecommendation_DAL
		IAdvertisingRecommendation_BLL iAdvertisingRecommendation_BLL;
		public IAdvertisingRecommendation_BLL IAdvertisingRecommendation_BLL
		{
			get
			{
				if(iAdvertisingRecommendation_BLL==null)
					iAdvertisingRecommendation_BLL= new AdvertisingRecommendation_BLL();
				return iAdvertisingRecommendation_BLL;
			}
			set
			{
				iAdvertisingRecommendation_BLL= value;
			}
		}
		#endregion

        		#region 03 业务接口 IAmazonBrowseNode_DAL
		IAmazonBrowseNode_BLL iAmazonBrowseNode_BLL;
		public IAmazonBrowseNode_BLL IAmazonBrowseNode_BLL
		{
			get
			{
				if(iAmazonBrowseNode_BLL==null)
					iAmazonBrowseNode_BLL= new AmazonBrowseNode_BLL();
				return iAmazonBrowseNode_BLL;
			}
			set
			{
				iAmazonBrowseNode_BLL= value;
			}
		}
		#endregion

        		#region 04 业务接口 IAmazonOrder_DAL
		IAmazonOrder_BLL iAmazonOrder_BLL;
		public IAmazonOrder_BLL IAmazonOrder_BLL
		{
			get
			{
				if(iAmazonOrder_BLL==null)
					iAmazonOrder_BLL= new AmazonOrder_BLL();
				return iAmazonOrder_BLL;
			}
			set
			{
				iAmazonOrder_BLL= value;
			}
		}
		#endregion

        		#region 05 业务接口 IAmazonOrderFulfillment_DAL
		IAmazonOrderFulfillment_BLL iAmazonOrderFulfillment_BLL;
		public IAmazonOrderFulfillment_BLL IAmazonOrderFulfillment_BLL
		{
			get
			{
				if(iAmazonOrderFulfillment_BLL==null)
					iAmazonOrderFulfillment_BLL= new AmazonOrderFulfillment_BLL();
				return iAmazonOrderFulfillment_BLL;
			}
			set
			{
				iAmazonOrderFulfillment_BLL= value;
			}
		}
		#endregion

        		#region 06 业务接口 IAmazonOrderFulfillmentItem_DAL
		IAmazonOrderFulfillmentItem_BLL iAmazonOrderFulfillmentItem_BLL;
		public IAmazonOrderFulfillmentItem_BLL IAmazonOrderFulfillmentItem_BLL
		{
			get
			{
				if(iAmazonOrderFulfillmentItem_BLL==null)
					iAmazonOrderFulfillmentItem_BLL= new AmazonOrderFulfillmentItem_BLL();
				return iAmazonOrderFulfillmentItem_BLL;
			}
			set
			{
				iAmazonOrderFulfillmentItem_BLL= value;
			}
		}
		#endregion

        		#region 07 业务接口 IAmazonOrdersDetail_DAL
		IAmazonOrdersDetail_BLL iAmazonOrdersDetail_BLL;
		public IAmazonOrdersDetail_BLL IAmazonOrdersDetail_BLL
		{
			get
			{
				if(iAmazonOrdersDetail_BLL==null)
					iAmazonOrdersDetail_BLL= new AmazonOrdersDetail_BLL();
				return iAmazonOrdersDetail_BLL;
			}
			set
			{
				iAmazonOrdersDetail_BLL= value;
			}
		}
		#endregion

        		#region 08 业务接口 IAmazonOrdersShippingAddress_DAL
		IAmazonOrdersShippingAddress_BLL iAmazonOrdersShippingAddress_BLL;
		public IAmazonOrdersShippingAddress_BLL IAmazonOrdersShippingAddress_BLL
		{
			get
			{
				if(iAmazonOrdersShippingAddress_BLL==null)
					iAmazonOrdersShippingAddress_BLL= new AmazonOrdersShippingAddress_BLL();
				return iAmazonOrdersShippingAddress_BLL;
			}
			set
			{
				iAmazonOrdersShippingAddress_BLL= value;
			}
		}
		#endregion

        		#region 09 业务接口 IAmazonOrdersTotal_DAL
		IAmazonOrdersTotal_BLL iAmazonOrdersTotal_BLL;
		public IAmazonOrdersTotal_BLL IAmazonOrdersTotal_BLL
		{
			get
			{
				if(iAmazonOrdersTotal_BLL==null)
					iAmazonOrdersTotal_BLL= new AmazonOrdersTotal_BLL();
				return iAmazonOrdersTotal_BLL;
			}
			set
			{
				iAmazonOrdersTotal_BLL= value;
			}
		}
		#endregion

        		#region 10 业务接口 IAmazonRefinementsInfo_DAL
		IAmazonRefinementsInfo_BLL iAmazonRefinementsInfo_BLL;
		public IAmazonRefinementsInfo_BLL IAmazonRefinementsInfo_BLL
		{
			get
			{
				if(iAmazonRefinementsInfo_BLL==null)
					iAmazonRefinementsInfo_BLL= new AmazonRefinementsInfo_BLL();
				return iAmazonRefinementsInfo_BLL;
			}
			set
			{
				iAmazonRefinementsInfo_BLL= value;
			}
		}
		#endregion

        		#region 11 业务接口 IAppKey_DAL
		IAppKey_BLL iAppKey_BLL;
		public IAppKey_BLL IAppKey_BLL
		{
			get
			{
				if(iAppKey_BLL==null)
					iAppKey_BLL= new AppKey_BLL();
				return iAppKey_BLL;
			}
			set
			{
				iAppKey_BLL= value;
			}
		}
		#endregion

        		#region 12 业务接口 ICompetitivePrice_DAL
		ICompetitivePrice_BLL iCompetitivePrice_BLL;
		public ICompetitivePrice_BLL ICompetitivePrice_BLL
		{
			get
			{
				if(iCompetitivePrice_BLL==null)
					iCompetitivePrice_BLL= new CompetitivePrice_BLL();
				return iCompetitivePrice_BLL;
			}
			set
			{
				iCompetitivePrice_BLL= value;
			}
		}
		#endregion

        		#region 13 业务接口 IFeedsInfo_DAL
		IFeedsInfo_BLL iFeedsInfo_BLL;
		public IFeedsInfo_BLL IFeedsInfo_BLL
		{
			get
			{
				if(iFeedsInfo_BLL==null)
					iFeedsInfo_BLL= new FeedsInfo_BLL();
				return iFeedsInfo_BLL;
			}
			set
			{
				iFeedsInfo_BLL= value;
			}
		}
		#endregion

        		#region 14 业务接口 IFulfillmentRecommendation_DAL
		IFulfillmentRecommendation_BLL iFulfillmentRecommendation_BLL;
		public IFulfillmentRecommendation_BLL IFulfillmentRecommendation_BLL
		{
			get
			{
				if(iFulfillmentRecommendation_BLL==null)
					iFulfillmentRecommendation_BLL= new FulfillmentRecommendation_BLL();
				return iFulfillmentRecommendation_BLL;
			}
			set
			{
				iFulfillmentRecommendation_BLL= value;
			}
		}
		#endregion

        		#region 15 业务接口 IGlobalSellingRecommendation_DAL
		IGlobalSellingRecommendation_BLL iGlobalSellingRecommendation_BLL;
		public IGlobalSellingRecommendation_BLL IGlobalSellingRecommendation_BLL
		{
			get
			{
				if(iGlobalSellingRecommendation_BLL==null)
					iGlobalSellingRecommendation_BLL= new GlobalSellingRecommendation_BLL();
				return iGlobalSellingRecommendation_BLL;
			}
			set
			{
				iGlobalSellingRecommendation_BLL= value;
			}
		}
		#endregion

        		#region 16 业务接口 IInventoryRecommendation_DAL
		IInventoryRecommendation_BLL iInventoryRecommendation_BLL;
		public IInventoryRecommendation_BLL IInventoryRecommendation_BLL
		{
			get
			{
				if(iInventoryRecommendation_BLL==null)
					iInventoryRecommendation_BLL= new InventoryRecommendation_BLL();
				return iInventoryRecommendation_BLL;
			}
			set
			{
				iInventoryRecommendation_BLL= value;
			}
		}
		#endregion

        		#region 17 业务接口 IListingQualityRecommendation_DAL
		IListingQualityRecommendation_BLL iListingQualityRecommendation_BLL;
		public IListingQualityRecommendation_BLL IListingQualityRecommendation_BLL
		{
			get
			{
				if(iListingQualityRecommendation_BLL==null)
					iListingQualityRecommendation_BLL= new ListingQualityRecommendation_BLL();
				return iListingQualityRecommendation_BLL;
			}
			set
			{
				iListingQualityRecommendation_BLL= value;
			}
		}
		#endregion

        		#region 18 业务接口 IPricingRecommendation_DAL
		IPricingRecommendation_BLL iPricingRecommendation_BLL;
		public IPricingRecommendation_BLL IPricingRecommendation_BLL
		{
			get
			{
				if(iPricingRecommendation_BLL==null)
					iPricingRecommendation_BLL= new PricingRecommendation_BLL();
				return iPricingRecommendation_BLL;
			}
			set
			{
				iPricingRecommendation_BLL= value;
			}
		}
		#endregion

        		#region 19 业务接口 IReportsInfo_DAL
		IReportsInfo_BLL iReportsInfo_BLL;
		public IReportsInfo_BLL IReportsInfo_BLL
		{
			get
			{
				if(iReportsInfo_BLL==null)
					iReportsInfo_BLL= new ReportsInfo_BLL();
				return iReportsInfo_BLL;
			}
			set
			{
				iReportsInfo_BLL= value;
			}
		}
		#endregion

        		#region 20 业务接口 ISalesRank_DAL
		ISalesRank_BLL iSalesRank_BLL;
		public ISalesRank_BLL ISalesRank_BLL
		{
			get
			{
				if(iSalesRank_BLL==null)
					iSalesRank_BLL= new SalesRank_BLL();
				return iSalesRank_BLL;
			}
			set
			{
				iSalesRank_BLL= value;
			}
		}
		#endregion

        		#region 21 业务接口 ISelectionRecommendation_DAL
		ISelectionRecommendation_BLL iSelectionRecommendation_BLL;
		public ISelectionRecommendation_BLL ISelectionRecommendation_BLL
		{
			get
			{
				if(iSelectionRecommendation_BLL==null)
					iSelectionRecommendation_BLL= new SelectionRecommendation_BLL();
				return iSelectionRecommendation_BLL;
			}
			set
			{
				iSelectionRecommendation_BLL= value;
			}
		}
		#endregion

        		#region 22 业务接口 ISellerDetailsListing_DAL
		ISellerDetailsListing_BLL iSellerDetailsListing_BLL;
		public ISellerDetailsListing_BLL ISellerDetailsListing_BLL
		{
			get
			{
				if(iSellerDetailsListing_BLL==null)
					iSellerDetailsListing_BLL= new SellerDetailsListing_BLL();
				return iSellerDetailsListing_BLL;
			}
			set
			{
				iSellerDetailsListing_BLL= value;
			}
		}
		#endregion

        		#region 23 业务接口 ISellerListing_DAL
		ISellerListing_BLL iSellerListing_BLL;
		public ISellerListing_BLL ISellerListing_BLL
		{
			get
			{
				if(iSellerListing_BLL==null)
					iSellerListing_BLL= new SellerListing_BLL();
				return iSellerListing_BLL;
			}
			set
			{
				iSellerListing_BLL= value;
			}
		}
		#endregion

            }
}